import request from '@/util/request.js';

/**
 * @description 用户查询券商品列表
 * @param {Object} data
 */
export function getCurrentUserList(data) {
	return request({
		url: '/securitiesTradingZone/getCurrentUserList',
		method: 'GET',
		data
	})
}
/**
 * @description 查询商户变量现值
 * @param {Object} data
 */
export function queryMerchantVariablePresentValue(data) {
	return request({
		url: '/securitiesTradingZone/queryMerchantVariablePresentValue',
		method: 'GET',
		data
	})
}
export function getBankList() {
	return request({
		url: '/tbcBank/getTBCBankList',
		method: 'GET',
	})
}

export function saveBank(data) {
	return request({
		url: '/bank/addBank',
		method: 'POST',
		data
	})
}
export function iWantToCashIn(data) {
	return request({
		url: '/securitiesTradingZone/iWantToCashIn',
		method: 'POST',
		data
	})
}
export function update(data) {
	return request({
		url: '/securitiesTradingZone/update',
		method: 'get',
		data
	})
}
export function getRemainingAmount(data) {
	return request({
		url: '/securitiesTradingZone/getRemainingAmount',
		method: 'get',
		data
	})
}
